﻿using System;
using System.Collections.Generic;
using Pay.DTO;

namespace Pay.IService {
	public interface IManageService {
		manage_dto Get(long id);
		manage_dto Login(string mobile, string password);
		IEnumerable<manage_dto> Get();
		/// <summary>
		/// 新增平台管理员
		/// </summary>
		/// <param name="dto"></param>
		int Add(manage_dto dto);
		/// <summary>
		/// 更新平台管理员
		/// </summary>
		/// <param name="dto"></param>
		/// <returns></returns>
		int Update(manage_dto dto);
		int ChangePwd(long user_id, string old_password, string password, string re_password);
		int Delete(long id);
        int Reset(manage_dto dto);
        role_dto GetRole(long user_id);

        manage_dto GetManage(long id);
    }
}
